package com.ha.service;

import com.ha.dto.UserLoginDTO;
import com.ha.dto.UserPageDTO;
import com.ha.dto.UserRegisterDTO;
import com.ha.entity.User;
import com.ha.result.PageResult;

/**
 * ClassName: UserService
 * Package: com.ha.service
 * Description:
 *
 * @Author 那啥啥
 * @Create 2024/4/22  20:53
 * @Version 1.0
 */
public interface UserService {
    PageResult pageQuery(UserPageDTO userPageDTO);

    void addUser(UserRegisterDTO userRegisterDTO);

    void updateUser(UserRegisterDTO userRegisterDTO);


    void delete(Integer deleted,Long id);

    User getById(Long id);

    User login(UserLoginDTO userLoginDTO);
}
